window.onload = function () {
	var ret = document.getElementById('return');
	var del = document.getElementById('delete_ids');
	var state = document.getElementById('state_ids');
	ret.onclick = function () {
		history.back();
	};
	del.onclick = function () {
		if (confirm('确定要删除这些短信？')) {
			fm.onsubmit();
		}
	};
	state.onclick = function () {
		if (confirm('确定要通过这些短信？')) {
			fm.onsubmit();
		}
	};
};